package com.rqbl.service;

import com.rqbl.entity.Bar;
import com.rqbl.myutils.PageBean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BarService {
    List<Bar> getBarByPage(PageBean pageBean);

    Integer addBar(Bar bar);

    Bar getBarById(Integer bid);

    List<Bar> getAllBarByUid(Integer uid);

    Integer updateBarAnnounce(Integer bid, String announce);

    Integer updateBarImgByBid(Integer bid, String url);

    Integer updateBarInfo(Integer bid, String bname, String bdescribe);

}
